package proxy;

import pojo.QueryVo;
import pojo.User;

import java.util.List;

public interface userMapper {

    public User getUserById(Integer id);

    public List<User> getUserByUsername(String name);

    public void saveUser(User user);

    List<User> getUserByQueryVo(QueryVo queryVo);

    Integer count();

    User getUserByUserIdAndUsername(User user);

    List<User> getUserList(QueryVo queryVo);

    List<User> getUserOrders();

}
